/* 	SymHashEntry.java
	From: Department of CSE
	Authors: Le Minh Vu, Nguyen Hua Phung
	Date: 15/11/2007
*/
package MP.staticchecker;

import MP.lexicalanalysis.Token;

public class SymHashEntry extends SymEntry {
	int next;
	public SymHashEntry(Token id,Type type) {
		super(id,type);
		next = -1;
	}
	public SymHashEntry(Token id,Type type,String v) { 
		super(id,type,v);
		next = -1;
	}
	public SymHashEntry(Token id,Type type,String v,int next) {
		super(id,type,v);
		this.next = next;
	}
	public void setNext(int next) {
		this.next = next;
	}
	public int getNext() {
		return next;
	}
}